﻿alter table [dbo].[LogEntry] add constraint [FK_LogEntry_WorkItem] foreign key (WorkItemId) references [WorkItem](WorkItemId)